package com.md.api.service;


import com.md.api.entity.*;
import com.md.api.entity.dto.ComposeCommitDto;
import com.md.api.entity.dto.ComposeQueryDto;
import com.md.api.entity.dto.SendDto;

/**
 * @Author liujie
 * @ClassName UserSevice
 * @Date 2022/11/9 11:34
 **/
public interface SysUserSevice {

    HttpResult sysUserLogin( SysUser user);

    HttpResult addUser( SysUser user);

    HttpResult resetPass( SysUser sysUser);

    HttpResult userPage(ComposeQueryDto composeQueryDto) ;

    HttpResult deleteUser( ComposeCommitDto commitDto);

    HttpResult enableUser( SysUser user);

    HttpResult updateUser( SysUser user);

    HttpResult updatePass( SysUser user);





    HttpResult advertPage( ComposeQueryDto composeQueryDto);
    HttpResult addAdvert( AdvertisementInfo advert);
    HttpResult deleteAdvert( AdvertisementInfo advert);
    HttpResult updateAdvert( AdvertisementInfo advert);


    HttpResult shoppingSpuPage( ComposeQueryDto composeQueryDto);
    HttpResult shoppingSkuPage( ComposeQueryDto composeQueryDto);



    HttpResult shoppingOrderPage(ComposeQueryDto composeQueryDto);

    HttpResult customPage(ComposeQueryDto composeQueryDto);

    HttpResult shoppingOrderDetail(ShoppingOrder order);

    HttpResult indexCount();

    HttpResult switchList();

    HttpResult switchOpen(SysSwitch sysSwitch);

    HttpResult switchClose(SysSwitch sysSwitch);

    HttpResult distributeOrder(ComposeQueryDto composeQueryDto);

    HttpResult shoppingRefundOrderPage(ComposeQueryDto composeQueryDto);

    HttpResult acceptedShoppingRefundOrder(ComposeQueryDto composeQueryDto);

    HttpResult refundShoppingMoney(ComposeQueryDto composeQueryDto);


    HttpResult updateShoppingSpuType(ShoppingSpuType spuType);

    HttpResult deleteShoppingSpuType(ShoppingSpuType spuType);

    HttpResult addShoppingSpuType(ShoppingSpuType spuType);

    HttpResult shoppingSpuTypePage(ComposeQueryDto composeQueryDto);

    HttpResult sendPoint( SendDto dto);

    HttpResult sendCoupon( SendDto dto);

    HttpResult setUserType(UserInfo info);

    HttpResult rechargeOrderPage(ComposeQueryDto composeQueryDto);

    HttpResult sendBalance(SendDto dto);

    HttpResult refuseShoppingRefundOrder(ComposeQueryDto composeQueryDto);

    HttpResult shopLocation();

    HttpResult setShopLocation(ShopLocation location);

    HttpResult exportMotOrder(ComposeQueryDto composeQueryDto);
    HttpResult exportBalance(ComposeQueryDto composeQueryDto);

    HttpResult exportShoppingOrder(ComposeQueryDto composeQueryDto);

    HttpResult exportShoppingRefundOrder(ComposeQueryDto composeQueryDto);

    HttpResult sitePage(ComposeQueryDto composeQueryDto);

    HttpResult addSite(SiteInfo siteInfo);

    HttpResult deleteSite(SiteInfo siteInfo);

    HttpResult updateSite(SiteInfo siteInfo);

    HttpResult siteServiceContentPage(ComposeQueryDto composeQueryDto);

    HttpResult addSiteServiceContent(SiteServiceContent siteInfo);

    HttpResult deleteSiteServiceContent(SiteServiceContent serviceContent);

    HttpResult updateSiteServiceContent(SiteServiceContent serviceContent);

    HttpResult deleteCarType(SysCarType carType);

    HttpResult addCarType(SysCarType carType);

    HttpResult sysConfigList();

    HttpResult updateConfig(SysConfig config);

    HttpResult motOrderPage(ComposeQueryDto composeQueryDto);
    HttpResult motSiteOrderPage(ComposeQueryDto composeQueryDto);

    HttpResult writeOffMotOrder(MotOrder order);

    HttpResult motReservationPage(ComposeQueryDto composeQueryDto);

    HttpResult completeMotReservation(MotReservation order);

//    HttpResult acceptedShoppingChangeOrder(ComposeCommitDto commitDto);

    HttpResult fillInShoppingChangeOrder(ShoppingChangeOrder changeOrder);

    HttpResult shoppingChangeOrderPage(ComposeQueryDto composeQueryDto);

//    HttpResult confirmShoppingChangeOrder(ComposeCommitDto commitDto);

    HttpResult withdrawalPage(ComposeQueryDto composeQueryDto);

    HttpResult updateWithdrawalStatus(UserWithdrawalRecord withdrawalRecord);


    HttpResult bindSite(SysUser user);

    HttpResult motRefundMoney(ComposeCommitDto qto);

    HttpResult firstAidPage(ComposeQueryDto composeQueryDto);

    HttpResult getConfig(SysConfig config);

    HttpResult carImgPage(ComposeQueryDto composeQueryDto);

    HttpResult addCarImg(CarDefaultImg logo);

    HttpResult deleteCarImg(CarDefaultImg logo);

    HttpResult carLogoPage(ComposeQueryDto composeQueryDto);

    HttpResult addCarLogo(CarLogo logo);

    HttpResult deleteCarLogo(CarLogo logo);

    HttpResult userBalancePage(ComposeQueryDto composeQueryDto);

    HttpResult getAchievement(ComposeQueryDto info);

    HttpResult getCustomNext(ComposeQueryDto queryDto);

    HttpResult getCustomCar(ComposeQueryDto queryDto);

    HttpResult sendCouponToAllCustom(SendDto dto);

    HttpResult cancelMotOrder(MotOrder order);

//    HttpResult refuseedShoppingChangeOrder(ComposeCommitDto commitDto);
}
